﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace TempalteMetod
{
    public class SingleDog : ModelBase
    {
        protected override void AfterEat()
        {
            Console.WriteLine("打游戏=》打游戏");
        }

        protected override void Eat()
        {
            Console.WriteLine("叫外卖吃饭");
        }

        protected override void GotoBed()
        {
            Console.WriteLine("自己上床睡觉");
        }
    }
}
